
testOptimizations([
	
	['!a ? b() : c();',
		'a ? c() : b();'],
	
	['a(x ? true : false);',
		'a(!!x);'],
	
	// x is surely boolean:
	['x = !b; a(x ? true : false);',
		'x = !b, a(x);'],
	
	['a(x ? false : true);',
		'a(!x);']
	
]);
